package com.qq.financeSystem.model;

//年月（装指定年月+部门ID+员工ID）
public class YearAndMonth {
    private String year;
    private String month;
    private String identificationCode;
    private String employeeId;

    public YearAndMonth(String year, String month) {
        this.year = year;
        this.month = month;
    }

    public YearAndMonth(String year, String month, String identificationCode) {
        this.year = year;
        this.month = month;
        this.identificationCode = identificationCode;
    }

    public YearAndMonth(String year, String month, String identificationCode, String employeeId) {
        this.year = year;
        this.month = month;
        this.identificationCode = identificationCode;
        this.employeeId = employeeId;
    }

    public YearAndMonth() {
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getIdentificationCode() {
        return identificationCode;
    }

    public void setIdentificationCode(String identificationCode) {
        this.identificationCode = identificationCode;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public String toString() {
        return "YearAndMonth{" +
                "year='" + year + '\'' +
                ", month='" + month + '\'' +
                ", identificationCode='" + identificationCode + '\'' +
                ", employeeId='" + employeeId + '\'' +
                '}';
    }
}
